package work.mediway.mdm.biz.entity.hierarchy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 岗位
 * @author ruoyi
 * @since 2022-08-25
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("HOS_Post")
@ApiModel(value="HosPost对象", description="岗位")
public class HosPost implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位代码")
    @TableId(value = "POST_Code", type = IdType.ASSIGN_ID)
    private String postCode;

    @ApiModelProperty(value = "岗位名称")
    @TableField("POST_Desc")
    private String postDesc;

    @ApiModelProperty(value = "业务单元代码")
    @TableField("POST_BUCode")
    private String postBuCode;

    @ApiModelProperty(value = "岗位字典组织代码")
    @TableField("POST_POSTC_ORGCode")
    private String postPostcOrgCode;

    @ApiModelProperty(value = "岗位字典代码")
    @TableField("POST_POSTCCode")
    private String postPostcCode;

    @ApiModelProperty(value = "是否负责人岗")
    @TableField("POST_ISHead")
    private String postIsHead;

    @ApiModelProperty(value = "编制人数")
    @TableField("POST_LimitedNum")
    private Integer postLimitedNum;

    @ApiModelProperty(value = "实际人数")
    @TableField("POST_Num")
    private Integer postNum;

    @ApiModelProperty(value = "学历要求")
    @TableField("POST_Education")
    private String postEducation;

    @ApiModelProperty(value = "职务代码")
    @TableField("POST_PROFTCode")
    private String postProftCode;

    @ApiModelProperty(value = "是否有效")
    @TableField("POST_Activity")
    private String postActivity;

    @ApiModelProperty(value = "开始日期")
    @TableField("POST_StartDate")
    private LocalDate postStartDate;

    @ApiModelProperty(value = "结束日期")
    @TableField("POST_EndDate")
    private LocalDate postEndDate;

    @ApiModelProperty(value = "系统创建日期")
    @TableField("POST_CreateDate")
    private LocalDate postCreateDate;

    @ApiModelProperty(value = "系统创建时间")
    @TableField("POST_CreateTime")
    private LocalTime postCreateTime;

    @ApiModelProperty(value = "系统创建人")
    @TableField("POST_CreateUser")
    private String postCreateUser;

    @ApiModelProperty(value = "系统排序号")
    @TableField("POST_SeqNo")
    private Integer postSeqNo;

    @ApiModelProperty(value = "系统最后更新日期")
    @TableField("POST_LastUpdateDate")
    private LocalDate postLastUpdateDate;

    @ApiModelProperty(value = "系统最后更新时间")
    @TableField("POST_LastUpdateTime")
    private LocalTime postLastUpdateTime;

    @ApiModelProperty(value = "系统最新更新人")
    @TableField("POST_LastUpdateUser")
    private String postLastUpdateUser;

    @ApiModelProperty(value = "拼音码")
    @TableField("POST_PYCode")
    private String postPyCode;

    @ApiModelProperty(value = "五笔码")
    @TableField("POST_WBCode")
    private String postWbCode;

    @ApiModelProperty(value = "备注")
    @TableField("POST_Mark")
    private String postMark;


}
